<?php

Raise::load('core.RaiseDns');

/**
 * TestCoreRaiseDns class
 * Testing unit of 'phpraise/core/RaiseDns.php'
 *
 * @author Sam-Mauris Yong <hellclanner at live dot com>
 * @license http://www.opensource.org/licenses/bsd-license New BSD License
 * @package Raise.UnitTest.Test
 */
class TestCoreRaiseDns extends RaiseTest {

    public static function testDnsResolve(){
        self::assertClassExists('RaiseDns');
        self::assertClassExtends('RaiseDns', 'RaiseStaticClass');
        self::assertStrictEqual(RaiseDns::getAddressByName('localhost'), '127.0.0.1');
    }
    
}

